package cn.gok.common.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 订单主表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("o_order_master")
public class OrderMaster {
    @TableId(value = "ORDER_ID", type = IdType.AUTO)
    private Long orderId;

    @TableField("ORDER_SN")
    private String orderSn;

    @TableField("TRANSATION_NO")
    private String transationNo;

    @TableField("CUSTOMER_ID")
    private String customerId;

    @TableField("PAY_TYPE")
    private Integer payType;

    @TableField("PAY_TIME")
    private String payTime;

    @TableField("ORDER_MONEY")
    private Integer orderMoney;

    @TableField("DISTRICT_MONEY")
    private Integer districtMoney;

    @TableField("PAY_MONEY")
    private Integer payMoney;

    @TableField("CREATE_TIME")
    private String createTime;

    @TableField("RECEIVE_TIME")
    private String receiveTime;

    @TableField("ORDER_STATUS")
    private Byte orderStatus;

    @TableField("ORDER_POINT")
    private Integer orderPoint;

    @TableField("INVOICE_TITLE")
    private String invoiceTitle;

    @TableField("INVOICE_NO")
    private String invoiceNo;

    @TableField("MODIFIED_TIME")
    private String modifiedTime;
}